﻿using System.ComponentModel;
using Wwtfly.BBS.Framework.Attributes;
using Wwtfly.BBS.Framework.Caches;

namespace Wwtfly.BBS.Framework.Application
{
    public class SystemSettings : BaseSettings
    {
       
        /// <summary>
        /// 缓存Key
        /// </summary>
        private static   readonly string _systemSettingsKey="SystemSettings";
        private static CommonDataProvider _commonDataProvider =new SqlCommonDataProvider();

        #region 方法

        /// <summary>
        /// 获取 系统设置信息
        /// </summary>
        /// <returns></returns>
        public static SystemSettings GetSystemSettings(bool cacheable=true)
        {
            SystemSettings systemSettings = null;
            if (cacheable)
            {
                systemSettings = Caches.CacheHelper.Get<SystemSettings>(_systemSettingsKey);
            }
            if (systemSettings == null)
            {
                if (systemSettings == null)
                {
                    systemSettings = new SystemSettings();
                    _commonDataProvider.SaveSettings(systemSettings);
                }
                Caches.CacheHelper.Insert(_systemSettingsKey, systemSettings, Caches.CacheHelper.MinuteFactor * 60);
            }
            return systemSettings;
        }
        
        /// <summary>
        /// 保存
        /// </summary>
        /// <param name="systemSettings"></param>
        public static void SaveSettings(SystemSettings systemSettings)
        {
            _commonDataProvider.SaveSettings(systemSettings);
        }


        /// <summary>
        /// 清除 缓存
        /// </summary>
        public static void CleanSystemSettingsCache()
        {
            CacheHelper.Remove(_systemSettingsKey);
        }
        #endregion

        private bool _allowValidateCodeBack =false;
        private bool _allowValidateCodeFore = false;


        #region 基本配置

        [TabNameAttribute("基本配置")]
        [Category("登陆验证码配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("否;False|是;True")]
        public bool AllowValidateCodeBack
        {
            get { return _allowValidateCodeBack; }
            set { _allowValidateCodeBack = value; }
        }

        [TabNameAttribute("基本配置")]
        [Category("登陆验证码配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("否;False|是;True")]
        public bool AllowValidateCodeFore
        {
            get { return _allowValidateCodeFore; }
            set { _allowValidateCodeFore = value; }
        }
        #endregion

        #region [系统配置]
        #region 系统配置

        private string _cmMobileRex ="";

        [Category("系统配置")]
        [Description("移动手机号段正则表达式")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string CMMobileRex
        {
            get { return _cmMobileRex; }
            set { _cmMobileRex = value; }
        }

        private string _mobileRex = @"^(13[\d]|14[5|7]|15[^4a-zA-Z]|18[^14a-zA-Z])\d{8}$";
        [Category("系统配置")]
        [Description("手机号段正则表达式")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string MobileRex
        {
            get { return _mobileRex; }
            set { _mobileRex = value; }
        }

        private string _domainRegx = "^(www\\.)?[0-9a-zA-Z-]+(\\.[a-zA-Z]+){1,2}$";

        [Category("系统配置")]
        [Description("域名正则表达式")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string DomainRegx
        {
            get { return _domainRegx; }
            set { _domainRegx = value; }
        }

        private string _pilotAreaCode = "";

        [Category("系统配置")]
        [Description("NGADC试点地市编码，中间使用逗号分割，如：200,755")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string PilotAreaCode
        {
            get { return _pilotAreaCode; }
            set { _pilotAreaCode = value; }
        }

        #endregion

        #region 导入导出

        private string _supportExcel2007 = "false";

        [Category("导入导出")]
        [Description("是否支持Excel 2007文档的导入。（true为支持，false则不支持）")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("支持;True|不支持;False")]
        public string SupportExcel2007
        {
            get { return _supportExcel2007; }
            set { _supportExcel2007 = value; }
        }

        #endregion

        #region 性能日志

        private string _requestDuration = "5";

        [Category("性能日志")]
        [Description("一个Web请求的时间。（单位：秒）")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string RequestDuration
        {
            get { return _requestDuration; }
            set { _requestDuration = value; }
        }


        #endregion

        #region 系统参数

        private string _enableProgressBar = "true";
        private string _notAllowExt = ".exe;.dll;.js;.css;.bat";
        private string _allowExt = ".jpg;.gif;.bmp;.png;.doc;.docx;.xls;.xlsx;.ppt;.pptx;.zip;.rar;.txt;.pdf";

        [Category("附件上传")]
        [Description("允许上传的附件类型,扩张名之间使用分号隔开")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string AllowExt
        {
            get { return _allowExt; }
            set { _allowExt = value; }
        }

        [Category("附件上传")]
        [Description("禁止上传的附件类型,扩展名之间使用分号隔开")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string NotAllowExt
        {
            get { return _notAllowExt; }
            set { _notAllowExt = value; }
        }

        [Category("附件上传")]
        [Description("附件上传控件是否启用进度条.(启用为true,不启用为false)")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("启用;True|不启用;False")]
        public string EnableProgressBar
        {
            get { return _enableProgressBar; }
            set { _enableProgressBar = value; }
        }

        private string _fckeditor_basePath = "/fckeditor/";
        [Category("文本编辑器")]
        [Description("文本编辑器路径")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string FCKeditor_BasePath
        {
            get { return _fckeditor_basePath; }
            set { _fckeditor_basePath = value; }
        }

        private string _fckeditor_ftpCategoryPath = "UPLoads/NewsNotice";
        [Category("文本编辑器")]
        [Description("文本编辑器中图片保存路径")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string FCKeditor_FtpCategoryPath
        {
            get { return _fckeditor_ftpCategoryPath; }
            set { _fckeditor_ftpCategoryPath = value; }
        }

        private string _fckeditor_userFilesPath = "~/Images";
        [Category("文本编辑器")]
        [Description("文本编辑器中保存路径")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string FCKeditor_UserFilesPath
        {
            get { return _fckeditor_userFilesPath; }
            set { _fckeditor_userFilesPath = value; }
        }

        #endregion

        #region Mom系统监控账号配置

        private string _momUrl = "http://192.168.101.8:1272/Services/MomService.asmx";
        [Category("Mom系统监控账号配置")]
        [Description("MomService引用地址")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string MomUrl
        {
            get { return _momUrl; }
            set { _momUrl = value; }
        }

        private string _momUserName = "jjren@ewaytec.cn";

        [Category("Mom系统监控账号配置")]
        [Description("用户名")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string MomUserName
        {
            get { return _momUserName; }
            set { _momUserName = value; }
        }

        private string _momPassWord = "!@34ABcd";

        [Category("Mom系统监控账号配置")]
        [Description("密码")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string MomPassWord
        {
            get { return _momPassWord; }
            set { _momPassWord = value; }
        }

        #endregion

        #region EC门户是否关闭配置
        private bool isCloseECHomePage = false;

        [Category("EC门户是否关闭配置")]
        [Description("是否关闭EC门户入口。true是关闭，false是不关闭。")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("关闭;True|不关闭;False")]
        public bool ISCloseECHomePage
        {
            get { return isCloseECHomePage; }
            set { isCloseECHomePage = value; }
        }
        #endregion

        #region OMS自动回溯参数
        private int traceTimeExcursion = 7;

        [Category("OMS自动回溯参数")]
        [Description("回溯时间偏移量：必须大于1，小于等于30.")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public int TraceTimeExcursion
        {
            get { return traceTimeExcursion; }
            set { traceTimeExcursion = value; }
        }

        private int traceTimeSpan = 30;

        [Category("OMS自动回溯参数")]
        [Description("回溯时间跨度：必须大于7，小于等于60.")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public int TraceTimeSpan
        {
            get { return traceTimeSpan; }
            set { traceTimeSpan = value; }
        }

        private double alarmValue = 0.3;

        [Category("OMS自动回溯参数")]
        [Description("警告阀值：0-1")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public double AlarmValue
        {
            get { return alarmValue; }
            set { alarmValue = value; }
        }
        #endregion

        #region 网上营业厅电子证书配置项

        private string ocspIP = "";

        [Category("电子证书配置项")]
        [Description("CA服务端IP")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string OcspIP
        {
            get { return ocspIP; }
            set { ocspIP = value; }
        }

        private string ocspPort = "";

        [Category("电子证书配置项")]
        [Description("CA服务端端口")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string OcspPort
        {
            get { return ocspPort; }
            set { ocspPort = value; }
        }

        private string extensionId = "";

        [Category("电子证书配置项")]
        [Description("证书扩展信息的参数ID")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string ExtensionId
        {
            get { return extensionId; }
            set { extensionId = value; }
        }

        #endregion

        #region
        private string urgentEmails = "";

        [Category("通用紧急处理的协维人员配置")]
        [Description("协维人员的邮件,多个以逗号分割")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string UrgentEmails
        {
            get { return urgentEmails; }
            set { urgentEmails = value; }
        }

        #endregion

        #region CRM集团统一视图服务接口
        private string cRMGroupUnifiedViewOfServiceUrl_GroupInfo = "";

        [Category("CRM集团统一视图服务配置项")]
        [Description("集团档案查询服务Url")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string CRMGroupUnifiedViewOfService_Url_GroupInfo
        {
            get { return cRMGroupUnifiedViewOfServiceUrl_GroupInfo; }
            set { cRMGroupUnifiedViewOfServiceUrl_GroupInfo = value; }
        }

        private string cRMGroupUnifiedViewOfServiceUrl_BusinessProcess = "";

        [Category("CRM集团统一视图服务配置项")]
        [Description("业务办理历史查询服务Url")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string CRMGroupUnifiedViewOfServiceUrl_BusinessProcess
        {
            get { return cRMGroupUnifiedViewOfServiceUrl_BusinessProcess; }
            set { cRMGroupUnifiedViewOfServiceUrl_BusinessProcess = value; }
        }

        private string cRMGroupUnifiedViewOfServiceUrl_GroupUpdateTrack = "";

        [Category("CRM集团统一视图服务配置项")]
        [Description("集团客户资料变更轨迹查询服务Url")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string CRMGroupUnifiedViewOfServiceUrl_GroupUpdateTrack
        {
            get { return cRMGroupUnifiedViewOfServiceUrl_GroupUpdateTrack; }
            set { cRMGroupUnifiedViewOfServiceUrl_GroupUpdateTrack = value; }
        }

        private string cRMGroupUnifiedViewOfServiceUser = "";

        [Category("CRM集团统一视图服务配置项")]
        [Description("用户帐号")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string CRMGroupUnifiedViewOfService_User
        {
            get { return cRMGroupUnifiedViewOfServiceUser; }
            set { cRMGroupUnifiedViewOfServiceUser = value; }
        }

        private string cRMGroupUnifiedViewOfServicePassword = "";

        [Category("CRM集团统一视图服务配置项")]
        [Description("用户密码")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string CRMGroupUnifiedViewOfService_Passowrd
        {
            get { return cRMGroupUnifiedViewOfServicePassword; }
            set { cRMGroupUnifiedViewOfServicePassword = value; }
        }

        #endregion

        #region CRM统一登陆认证接口地址
        private string crmSSOTokenInterfaceUrl = "";

        [Category("CRM集团统一视图服务配置项")]
        [Description("统一登陆认证接口地址")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string CRMSSOTokenInterfaceUrl
        {
            get { return crmSSOTokenInterfaceUrl; }
            set { crmSSOTokenInterfaceUrl = value; }
        }
        private string crmLocalUrl = "";

        [Category("CRM集团统一视图服务配置项")]
        [Description("CRM系统内外访问地址")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string CRMLocalUrl
        {
            get { return crmLocalUrl; }
            set { crmLocalUrl = value; }
        }
        #endregion

        #region 网关即开即通
        private string iIFSynPrdInfo = "893";

        [Category("网关即开即通设置")]
        [Description("不需要同步产品信息给BOSS的产品编码,多个逗号分割")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string IFSynPrdInfo
        {
            get { return iIFSynPrdInfo; }
            set { iIFSynPrdInfo = value; }
        }

        #endregion

        #region EC订购关系对账配置需要对账的产品编码
        private string reconciliationProductCodes = "";

        [Category("EC订购关系对账配置项")]
        [Description("需要对账的产品编码,多个以逗号分割")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ReconciliationProductCodes
        {
            get { return reconciliationProductCodes; }
            set { reconciliationProductCodes = value; }
        }
        #endregion
        #region 客服派单ftp配置
        private string cSPADCftpAddress = "ftp://192.168.101.7:21/";

        [Category("CSP派单FTP设置")]
        [Description("ADC方回单附件上传FTP服务器地址")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CSPADCftpAddress
        {
            get { return cSPADCftpAddress; }
            set { cSPADCftpAddress = value; }
        }
        private string cSPADCftpDownUser = "daemon_work2";

        [Category("CSP派单FTP设置")]
        [Description("ADC方回单附件上传FTP服务器登录帐号")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CSPADCftpDownUser
        {
            get { return cSPADCftpDownUser; }
            set { cSPADCftpDownUser = value; }
        }

        private string cSPADCftpDownpassword = "1qaz@WSX";

        [Category("CSP派单FTP设置")]
        [Description("ADC方回单附件上传FTP服务器登录密码")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CSPADCftpDownpassword
        {
            get { return cSPADCftpDownpassword; }
            set { cSPADCftpDownpassword = value; }
        }
        private string cSPADCftpFiledirectory = "csp";

        [Category("CSP派单FTP设置")]
        [Description("ADC方回单附件上传FTP服务器正式目录")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CSPADCftpFiledirectory
        {
            get { return cSPADCftpFiledirectory; }
            set { cSPADCftpFiledirectory = value; }
        }
        private string cSPADCftpModule = "Pasv";

        [Category("CSP派单FTP设置")]
        [Description("ADC方回单附件上传FTP服务器模式")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CSPADCftpModule
        {
            get { return cSPADCftpModule; }
            set { cSPADCftpModule = value; }
        }
        private string cSPADCftpEncoder = "GB2312";

        [Category("CSP派单FTP设置")]
        [Description("ADC方回单附件上传FTP服务器编码")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CSPADCftpEncoder
        {
            get { return cSPADCftpEncoder; }
            set { cSPADCftpEncoder = value; }
        }
        private string cSPADCftpAddressForCSP = "ftp://192.168.101.7:21/";

        [Category("CSP派单FTP设置")]
        [Description("CSP方读取ADC回单附件的FTP服务器地址")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CSPADCftpAddressForCSP
        {
            get { return cSPADCftpAddressForCSP; }
            set { cSPADCftpAddressForCSP = value; }
        }
        private string cSPADCftpDownUserForCSP = "daemon_work2";

        [Category("CSP派单FTP设置")]
        [Description("CSP方读取ADC回单附件的的FTP服务器登录帐号")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CSPADCftpDownUserForCSP
        {
            get { return cSPADCftpDownUserForCSP; }
            set { cSPADCftpDownUserForCSP = value; }
        }

        private string cSPADCftpDownpasswordForCSP = "1qaz@WSX";

        [Category("CSP派单FTP设置")]
        [Description("CSP方读取ADC回单附件的FTP服务器登录密码")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CSPADCftpDownpasswordForCSP
        {
            get { return cSPADCftpDownpasswordForCSP; }
            set { cSPADCftpDownpasswordForCSP = value; }
        }
        #endregion
        #region [抽奖资格随机数加密密钥]
        private string _lotteryQualificationSecretKey = "LotteryQualificationSecretKey";

        [Category("加密密钥设置")]
        [Description("抽奖资格随机数加密密钥")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string LotteryQualificationSecretKey
        {
            get { return _lotteryQualificationSecretKey; }
            set { _lotteryQualificationSecretKey = value; }
        }
        #endregion

        #region [问卷调查随机码]
        private string _questionCode = "";

        [Category("问卷调查随机码")]
        [Description("问卷调查随机码  不为空则随机产生，否则为固定值")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string QuestionCode
        {
            get { return _questionCode; }
            set { _questionCode = value; }
        }
        #endregion



        #region [我充值、我有礼]
        private string _reChargeQualificationNum = "50";

        [Category("有效资格数")]
        [Description("我充值、我有礼每月有效资格数")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string ReChargeQualificationNum
        {
            get { return _reChargeQualificationNum; }
            set { _reChargeQualificationNum = value; }
        }

        private string _reChargeMinMoneyAndWinMoney = "1000-100;300-30;50-3";

        [Category("充值等级的最小金额以及相对应的奖励")]
        [Description("充值等级的最小金额以及相对应的奖励话费，如:1000-100;300-30;50-3(一等奖;二等奖;三等奖  按此顺序配置)")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string ReChargeMinMoneyAndWinMoney
        {
            get { return _reChargeMinMoneyAndWinMoney; }
            set { _reChargeMinMoneyAndWinMoney = value; }
        }
        #endregion

        #region [我分享、我有礼]
        private string _shareNum = "50";

        [Category("参与每月排行资格数")]
        [Description("我分享、我有礼参与每月排行资格数")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string ShareNum
        {
            get { return _shareNum; }
            set { _shareNum = value; }
        }
        #endregion

        #region BI数据同步配置

        private string _bIProductCodes = "1020";

        [Category("BI数据同步配置")]
        [Description("需要生成成员数据的产品编码，多个以逗号隔开,如1020,801")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string BIProductCodes
        {
            get { return _bIProductCodes; }
            set { _bIProductCodes = value; }
        }

        private string _snapshotTime = "";

        [Category("BI数据同步配置")]
        [Description("快照时间(yyyy-MM-dd)")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string SnapshotTime
        {
            get { return _snapshotTime; }
            set { _snapshotTime = value; }
        }
        #endregion


        #region 集团应用变更超时时间 add 2011-10-16

        private string _changeApplyExpiredTime = "1";

        [Category("集团应用变更超时时间")]
        [Description("应用变更超时处理时间(单位为分钟)")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string ChangeApplyExpiredTime
        {
            get { return _changeApplyExpiredTime; }
            set { _changeApplyExpiredTime = value; }
        }

        #endregion

        #region 集团应用、成员应用申请超时天数配置

        private string _entAppApplyHandleExpiredDays = "3";

        [Category("集团应用申请处理超时天数")]
        [Description("集团应用申请处理超时天数(单位为天)")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string EntAppApplyHandleExpiredDays
        {
            get { return _entAppApplyHandleExpiredDays; }
            set { _entAppApplyHandleExpiredDays = value; }
        }

        private string _memAppApplyHandleExpiredDays = "3";

        [Category("成员应用申请处理超时天数")]
        [Description("成员应用申请处理超时天数(单位为天)")]
        [TabNameAttribute("系统配置")]
        [ControlTypeAttribute("1")]
        public string MemAppApplyHandleExpiredDays
        {
            get { return _memAppApplyHandleExpiredDays; }
            set { _memAppApplyHandleExpiredDays = value; }
        }

        #endregion

        #endregion


        #region[门户配置]
        #region EC同步通讯录产品编码设置

        private string _contactsProductCodes = string.Empty;

        [Category("EC同步通讯录产品编码设置")]
        [Description("需要同步通讯录给SI的产品编码，多个以逗号隔开,如810,801")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ContactsProductCodes
        {
            get { return _contactsProductCodes; }
            set { _contactsProductCodes = value; }
        }

        #endregion

        #region EC订购同步SI特殊设置

        private string _messageLimitProductCodes = string.Empty;

        [Category("EC订购同步SI特殊设置")]
        [Description("需要同步短信限制条数(MessageLimit)给SI的产品编码，多个以逗号隔开,如818,820")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string MessageLimitProductCodes
        {
            get { return _messageLimitProductCodes; }
            set { _messageLimitProductCodes = value; }
        }

        #endregion

        #region EC网上营业厅业务配置

        private bool autoDisuse;
        private bool disuseNofify;
        private int clearDays;
        private int awokeDays;
        private int noticeDays;
        private int overDays;
        private string qxtServiceList = "200000239002;200000239003;200000239004;200000239005;200000239006;200000239007";
        private string defaultopenproductservice = "[818];[820];[1020]";
        private string getServiceListByMemberSaleplan = "[1022];[879];[871]";
        private string _myUsingProduct_MoreProductUrl = "";
        private string _nonSupportProductOnlineOpen = "[35];";
        private int ecMemberImportMax = 1000;

        [Category("批量成员开通导入配置")]
        [Description("在做订购同步成员开通、成员开通、变更、注销可导入的最大成员人数")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int ECMemberImportMax
        {
            get { return ecMemberImportMax; }
            set { ecMemberImportMax = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("我正在使用的产品功能中指向更多产品的地址")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string MyUsingProduct_MoreProductUrl
        {
            get { return _myUsingProduct_MoreProductUrl; }
            set { _myUsingProduct_MoreProductUrl = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("申请单过期自动废弃是否启用.(是为true 否为false)")]
        [TabNameAttribute("门户配置")]
        [DropListItemAttribute("是;True|否;False")]
        [ControlTypeAttribute("2")]
        public bool AutoDisuse
        {
            get { return autoDisuse; }
            set { autoDisuse = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("申请单过期废弃提醒是否启用.(是为true 否为false)")]
        [TabNameAttribute("门户配置")]
        [DropListItemAttribute("是;True|否;False")]
        [ControlTypeAttribute("2")]
        public bool DisuseNofify
        {
            get { return disuseNofify; }
            set { disuseNofify = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("已废弃申请单清理间隔天数(0时默认90天)")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int ClearDays
        {
            get { return clearDays; }
            set { clearDays = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("申请单未处理提醒天数(0为不提醒)")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int AwokeDays
        {
            get { return awokeDays; }
            set { awokeDays = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("申请单过期废弃预警天数(0为不提醒,预警天数应大于未处理提醒天数)")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int NoticeDays
        {
            get { return noticeDays; }
            set { noticeDays = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("申请单未处理过期天数(0为不提醒,过期天数应大于预警天数)")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int OverDays
        {
            get { return overDays; }
            set { overDays = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("企信通旧业务编码列表,业务编码以分号隔开")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string QXTOldServiceList
        {
            get { return qxtServiceList; }
            set { qxtServiceList = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("此处可设置当没有选择营销方案允许默认开通产品所有业务的产品,产品编码以分号隔开且每个产品编码必需用[]扩起来，如：[818];[820];")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string DefaultOpenProductService
        {
            get { return defaultopenproductservice; }
            set { defaultopenproductservice = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("此处可配置同步业务开通与变更申请时组装到报文的业务信息可根据成员营销方案获取的产品（默认只根据集团营销方案获取）,产品编码以分号隔开且每个产品编码必需用[]扩起来，如：[1022];[879];[871]")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string GetServiceListByMemberSaleplan
        {
            get { return getServiceListByMemberSaleplan; }
            set { getServiceListByMemberSaleplan = value; }
        }

        private string corporationFavourable = "864:10020000000031;818:10020000000032;820:10020000000033";
        [Category("EC网上营业厅业务配置")]
        [Description("默认优惠套餐配置.认证客户默认优惠套餐填写格式:产品编码:营销方案编码1,营销方案编码2”，如果有多个营销方案，营销方案中间用“,”隔开，如果有多个产品产品中间用“;”隔开。例如：820:10008004000,10008004001;818:10008004111,10008004112")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CorporationFavourable
        {
            get { return corporationFavourable; }
            set { corporationFavourable = value; }
        }

        private string clusteringFavourable = "864:10020000000031;818:10020000000032;820:10020000000033";

        [Category("EC网上营业厅业务配置")]
        [Description("默认优惠套餐配置,聚类客户默认优惠套餐填写格式:“产品编码:营销方案编码1,营销方案编码2”，如果有多个营销方案，营销方案中间用“,”隔开，如果有多个产品产品中间用“;”隔开。例如：820:10008004000,10008004001;818:10008004111,10008004112")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ClusteringFavourable
        {
            get { return clusteringFavourable; }
            set { clusteringFavourable = value; }
        }
        private bool isStartupDredgeHaveGift;

        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("是;True|否;False")]
        [Category("EC网上营业厅业务配置")]
        [Description("是否启用开通有礼抽奖.(是为true 否为false)")]
        public bool IsStartupDredgeHaveGift
        {
            get { return isStartupDredgeHaveGift; }
            set { isStartupDredgeHaveGift = value; }
        }

        private bool isStartupUseHaveGift;

        [Category("EC网上营业厅业务配置")]
        [Description("是否启用使用有礼抽奖.(是为true 否为false)")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("是;True|否;False")]
        public bool IsStartupUseHaveGift
        {
            get { return isStartupUseHaveGift; }
            set { isStartupUseHaveGift = value; }
        }

        [Category("EC网上营业厅业务配置")]
        [Description("此处可设置[不支持在线产品开通]办理的产品,产品编码以分号隔开且每个产品编码必需用[]扩起来，如：[818];[820];")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string NonSupportProductOnlineOpen
        {
            get { return _nonSupportProductOnlineOpen; }
            set { _nonSupportProductOnlineOpen = value; }
        }
        private bool _IsUseIntegralExchange = true;
        [TabNameAttribute("门户配置")]
        [Category("EC网上营业厅业务配置")]
        [Description("是否允许集团积分兑换:是则开放集团积分兑换功能，否则不开放")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("是;True|否;False")]
        public bool IsUseIntegralExchange
        {
            get { return _IsUseIntegralExchange; }
            set { _IsUseIntegralExchange = value; }
        }

        private string _DLIndexUrl = @"http://www.gd.chinamobile.com";
        [TabNameAttribute("门户配置")]
        [Category("EC网上营业厅业务配置")]
        [Description("动力100网站首页地址")]
        [ControlTypeAttribute("1")]
        public string DL100IndexUrl
        {
            get { return _DLIndexUrl; }
            set { _DLIndexUrl = value; }
        }

        #endregion

        #region 聚类客户产品开通配置
        private int ecApplyWaitTime = 120;
        [Category("聚类客户产品开通配置")]
        [Description("聚类客户提交开户申请时等待结果的时间.（单位为秒）")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int ECApplyWaitTime
        {
            get { return ecApplyWaitTime; }
            set { ecApplyWaitTime = value; }
        }

        private int ecOrderApplyWaitTime = 120;

        [Category("聚类客户产品开通配置")]
        [Description("聚类客户开通产品时等待结果的时间.（单位为秒）")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int ECOrderApplyWaitTime
        {
            get { return ecOrderApplyWaitTime; }
            set { ecOrderApplyWaitTime = value; }
        }

        private int checkCodeValidityTime = 60;

        [Category("聚类客户产品开通配置")]
        [Description("开户时的短信验证码的有效时间.（单位为秒）")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int CheckCodeValidityTime
        {
            get { return checkCodeValidityTime; }
            set { checkCodeValidityTime = value; }
        }

        private string onlinePaymentURL = "http://www.gd.chinamobile.com/services/PayGroupProduct/index.jsp";

        [Category("聚类客户产品开通配置")]
        [Description("在线充值页面.")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string OnlinePaymentURL
        {
            get { return onlinePaymentURL; }
            set { onlinePaymentURL = value; }
        }

        private bool clusteringJudgeOpenTime = false;

        [Category("聚类客户产品开通配置")]
        [Description("是否启用聚类客户未充值自动注销设置")]
        [TabNameAttribute("门户配置")]
        [DropListItemAttribute("是;True|否;False")]
        [ControlTypeAttribute("2")]
        public bool ClusteringJudgeOpenTime
        {
            get { return clusteringJudgeOpenTime; }
            set { clusteringJudgeOpenTime = value; }
        }

        private int clusteringJudgeHours = 48;

        [Category("聚类客户产品开通配置")]
        [Description("聚类客户未充值自动注销时间间隔，默认48小时。即如果产品开通后48小时未充值则系统自动提交注销申请")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int ClusteringJudgeHours
        {
            get { return clusteringJudgeHours; }
            set { clusteringJudgeHours = value; }
        }

        private string clusteringAccountAgreementNetworkIP = "";

        [Category("聚类客户产品开通配置")]
        [Description("聚类客户开户协议文件服务器内网IP址址")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ClusteringAccountAgreementNetworkIP
        {
            get { return clusteringAccountAgreementNetworkIP; }
            set { clusteringAccountAgreementNetworkIP = value; }
        }

        private string canOpenOnlineArea = "广州，江门";

        [Category("聚类客户产品开通配置")]
        [Description("一站式能开通地区默认(广州，江门)")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string CanOpenOnlineArea
        {
            get { return canOpenOnlineArea; }
            set { canOpenOnlineArea = value; }
        }
        #endregion

        #region 客户产品开通配置
        private bool isUserDomainExchange = false;

        [Category("客户产品开通配置")]
        [Description("是否启用客户与企邮的交互")]
        [TabNameAttribute("门户配置")]
        [DropListItemAttribute("是;True|否;False ")]
        [ControlTypeAttribute("2")]
        public bool IsUserDomainExchange
        {
            get { return isUserDomainExchange; }
            set { isUserDomainExchange = value; }
        }

        private string validateDomainUrl = "http://cm-adc.139cm.com/DomainQuery.aspx?domaintype=3";

        [Category("客户产品开通配置")]
        [Description("企邮提供申请139cm.com二级域名Url ")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ValidateDomainUrl
        {
            get { return validateDomainUrl; }
            set { validateDomainUrl = value; }
        }
        private int validateDomainHeight = 1250;

        [Category("客户产品开通配置")]
        [Description("申请139cm.com二级域名Url窗口高度. ")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int ValidateDomainHeight
        {
            get { return validateDomainHeight; }
            set { validateDomainHeight = value; }
        }
        private int validateDomainWidth = 840;

        [Category("客户产品开通配置")]
        [Description("申请139cm.com二级域名Url窗口宽度. ")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int ValidateDomainWidth
        {
            get { return validateDomainWidth; }
            set { validateDomainWidth = value; }
        }
        private string registerDomainUrl = "http://cm-adc.139cm.com/DomainQuery.aspx?domaintype=4";

        [Category("客户产品开通配置")]
        [Description("企邮提供移动协助申请.cn一级域名Url ")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string RegisterDomainUrl
        {
            get { return registerDomainUrl; }
            set { registerDomainUrl = value; }
        }
        private int registerDomainHeight = 1250;

        [Category("客户产品开通配置")]
        [Description("移动协助申请.cn一级域名Url窗口高度. ")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int RegisterDomainHeight
        {
            get { return registerDomainHeight; }
            set { registerDomainHeight = value; }
        }
        private int registerDomainWidth = 840;

        [Category("客户产品开通配置")]
        [Description("移动协助申请.cn一级域名Url窗口宽度. ")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int RegisterDomainWidth
        {
            get { return registerDomainWidth; }
            set { registerDomainWidth = value; }
        }

        private string ecDomain = "http://gd.10086.cn/simis/ECPortal";

        [Category("客户产品开通配置")]
        [Description("EC门户域名URL")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ECDomain
        {
            get { return ecDomain; }
            set { ecDomain = value; }
        }
        #endregion 客户产品开通配置

        #region 网服在线商品版购买点卡动力100充值页面配置
        private string ecOnlineRechargePostUrl = "";

        [Category("动力100充值页面配置")]
        [Description("网服在线商品版购买点卡动力100充值URL")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ECOnlineRechargePostUrl
        {
            get { return ecOnlineRechargePostUrl; }
            set { ecOnlineRechargePostUrl = value; }
        }
        #endregion
        #region EC成员订购申请配置

        private int ecMemberApplyWaitTime = 30;

        [Category("EC成员订购申请配置")]
        [Description("EC成员订购申请实时查询开通结果等待时间. (单位为秒,默认30秒)")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public int ECMemberApplyWaitTime
        {
            get { return ecMemberApplyWaitTime; }
            set { ecMemberApplyWaitTime = value; }
        }

        private bool isSendSMS = true;

        [Category("成员订购申请失败发送用户短信配置")]
        [Description("成员订购申请失败时候是否发送用户短信,true发送,false不发送")]
        [TabNameAttribute("门户配置")]
        [DropListItemAttribute("发送;True|不发送;False")]
        [ControlTypeAttribute("2")]
        public bool IsSendSMS
        {
            get { return isSendSMS; }
            set { isSendSMS = value; }
        }


        private string ecOptionalPackage = string.Empty;

        [Category("EC自选优惠包相关配置")]
        [Description("业务包名称，业务包编码，产品组合名称，产品组合编码。用\",\"号分隔")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ECOptionalPackage
        {
            get { return ecOptionalPackage; }
            set { ecOptionalPackage = value; }
        }
        #endregion

        #region 动力100联调域名IP

        private string dl100Domain = @"http://www.gd.chinamobile.com";

        [Category("动力100配置(我的常用功能)")]
        [Description("动力100联调域名IP (默认真实环境域名)")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string DL100Domain
        {
            get { return dl100Domain; }
            set { dl100Domain = value; }
        }

        private string isProductPackageLoadByCMS = "False";

        [Category("动力100配置(我的常用功能)")]
        [Description("动力100业务包是否使用CMS发布（True:使用  False:不使用)")]
        [TabNameAttribute("门户配置")]
        [DropListItemAttribute("使用;True|不使用;False")]
        [ControlTypeAttribute("2")]
        public string IsProductPackageLoadByCMS
        {
            get { return isProductPackageLoadByCMS; }
            set { isProductPackageLoadByCMS = value; }
        }

        private string productPackageLoadByCmsHTML = "";

        [Category("动力100配置(我的常用功能)")]
        [Description("动力100业务包页面发布地址（注意:只有[动力100业务包是否使用CMS发布]配置成:True,才有效")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ProductPackageLoadByCmsHTML
        {
            get { return productPackageLoadByCmsHTML; }
            set { productPackageLoadByCmsHTML = value; }
        }

        private string newProductHallHtml = "";

        [Category("动力100配置(我的常用功能)")]
        [Description("产品选购大厅页面发布地址（注意:请配置使用CMS框架开发的[产品选购大厅页面]，如果需要使用旧的[产品选购大厅页面]请配置此项为空！")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string NewProductHallHtml
        {
            get { return newProductHallHtml; }
            set { newProductHallHtml = value; }
        }
        #endregion

        #region 流程控制配置

        private string _emailList = "";

        [Category("流程控制配置")]
        [Description("协维人员EMAIL")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string EmailList
        {
            get { return _emailList; }
            set { _emailList = value; }
        }
        private string _mobileList = "";

        [Category("流程控制配置")]
        [Description("协维人员手机号码")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string MobileList
        {
            get { return _mobileList; }
            set { _mobileList = value; }
        }

        #endregion

        #region 发展渠道人工号控制
        private string devUserId = "";

        [Category("发展渠道人工号控制")]
        [Description("集团客户发展人工号")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string DevUserId
        {
            get { return devUserId; }
            set { devUserId = value; }
        }

        private string prdDevUserId = "";

        [Category("发展渠道人工号控制")]
        [Description("集团产品发展人工号")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string PrdDevUserId
        {
            get { return prdDevUserId; }
            set { prdDevUserId = value; }
        }

        #endregion

        #region
        //成员订购申请检查是否重复订购
        private string productCode = string.Empty;//string.Empty;

        [Category("数据割接时候成员订购申请的配置项")]
        [Description("产品编码,如农信通请填写：1026")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ProductCode
        {
            get { return productCode; }
            set { productCode = value; }
        }

        //数据割接开始时间
        private string startTime = string.Empty;

        [Category("数据割接时候成员订购申请的配置项")]
        [Description("数据割接开始时间，短信内容将按该字段填写的格式显示")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string StartTime
        {
            get { return startTime; }
            set { startTime = value; }
        }

        //数据割接结束时间
        private string endTime = string.Empty;

        [Category("数据割接时候成员订购申请的配置项")]
        [Description("数据割接结束时间，短信内容将按该字段填写的格式显示")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string EndTime
        {
            get { return endTime; }
            set { endTime = value; }
        }

        //开关控制是否发短信
        private bool isControl = false;

        [Category("数据割接时候成员订购申请的配置项")]
        [Description("数据割接控制开关,true表示生效,false表示失效")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("生效;True|失效;False")]
        public bool IsControl
        {
            get { return isControl; }
            set { isControl = value; }
        }


        #endregion

        #region 代理商折扣销售配置
        private string notifyDay = "30";

        [Category("代理商折扣销售配置")]
        [Description("代理商折扣销售订购关系的到期提醒天数")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string NotifyDay
        {
            get { return notifyDay; }
            set { notifyDay = value; }
        }

        #endregion

        #region 短信字数配置
        private string msgLength = "70";

        [Category("短信字数配置")]
        [Description("短信字数配置")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string MsgLength
        {
            get { return msgLength; }
            set { msgLength = value; }
        }
        #endregion

        #region 文件导出行数配置
        private string orderStatExportCount = "10000";

        [Category("文件导出行数配置")]
        [Description("文件导出行数配置")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string OrderStatExportCount
        {
            get { return orderStatExportCount; }
            set { orderStatExportCount = value; }
        }
        #endregion

        #region BI运营统计导出行数配置
        private string biOperateStatExportCount = "10000";


        /// <summary>
        /// BI运营统计导出行数配置
        /// </summary>
        [Category("BI运营统计导出行数配置")]
        [Description("BI运营统计导出行数配置")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string BIOperateStatExportCount
        {
            get { return biOperateStatExportCount; }
            set { biOperateStatExportCount = value; }
        }
        #endregion

        #region 中奖记录导出行数配置
        private string lotteryRcoredExportCount = "500";

        [Category("中奖记录导出行数配置")]
        [Description("中奖记录导出行数配置")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string LotteryRcoredExportCount
        {
            get { return lotteryRcoredExportCount; }
            set { lotteryRcoredExportCount = value; }
        }
        #endregion

        #region 分享记录导出行数配置
        private string shareRcoredExportCount = "5000";

        [Category("分享记录导出行数配置")]
        [Description("分享记录导出行数配置")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ShareRcoredExportCount
        {
            get { return shareRcoredExportCount; }
            set { shareRcoredExportCount = value; }
        }
        #endregion

        #region 新企信通业务办理配置
        private string salePlanIds = "";

        [Category("新企信通业务办理配置")]
        [Description("新企信通预付费营销方案配置，描述：新企信通业务办理付费模式为预付费时，默认的营销方案编码，多个以半角逗号分隔，如10000001001087,1000000000000100188。应用场景在EC门户集团产品开通。")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string SalePlanIds
        {
            get { return salePlanIds; }
            set { salePlanIds = value; }
        }
        #endregion

        //产品体验中心首页连接配置
        private string sendToUrl = "";//默认

        [Category("产品体验中心参数配置")]
        [Description("产品体验中心首页连接配置")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string SendToUrl
        {
            get { return sendToUrl; }
            set { sendToUrl = value; }
        }

        //产品试用是否允许多次试用
        private string isMoreOrder = "";//默认

        [Category("产品体验中心参数配置")]
        [Description("产品试用是否多次试用配置")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("是;1|否;0")]
        public string IsMoreOrder
        {
            get { return isMoreOrder; }
            set { isMoreOrder = value; }
        }

        #endregion

        #region 企业工作台常用功能地址配置
        private string myDeskUrl = "";

        [Category("企业工作台常用功能地址配置")]
        [Description("企业工作台常用功能地址配置")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string MyDeskUrl
        {
            get { return myDeskUrl; }
            set { myDeskUrl = value; }
        }
        #endregion

        #region 动力100密码修改成功后的跳转页面配置
        private string passWordModifySuccessPageFromDL100 = "";

        [Category("动力100密码修改成功后的跳转页面配置")]
        [Description("动力100密码修改成功后的跳转页面配置")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string PassWordModifySuccessPageFromDL100
        {
            get { return passWordModifySuccessPageFromDL100; }
            set { passWordModifySuccessPageFromDL100 = value; }
        }
        #endregion

        #region 配置需要弱密码鉴权的产品编码
        private string pwdCheckInterfaceRoterByProduct = "";

        [Category("配置需要弱密码鉴权的产品编码")]
        [Description("配置需要弱密码鉴权的产品编码,多个请用‘;‘隔开,例如：820;855;820")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string PwdCheckInterfaceRoterByProduct
        {
            get { return pwdCheckInterfaceRoterByProduct; }
            set { pwdCheckInterfaceRoterByProduct = value; }
        }
        #endregion

        #region 自定义弱密码配置
        private string lowerPassWordSet = "";

        [Category("自定义弱密码配置")]
        [Description("自定义弱密码配置,多个请用‘||‘隔开 ,例如：adc1111||123456||111111")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string LowerPassWordSet
        {
            get { return lowerPassWordSet; }
            set { lowerPassWordSet = value; }
        }
        #endregion


        #region[接口配置]
        #region 接口配置


        private string _ADCInterfaceDispatchService = "http://localhost:23342/ADCWSInterface/ADCInterfaceDispatchService.asmx";

        [Category("接口配置")]
        [Description("ADC内部接口地址")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string ADCInterfaceDispatchService
        {
            set { _ADCInterfaceDispatchService = value; }
            get { return _ADCInterfaceDispatchService; }
        }

        private string _NGADCServiceUrl = "";

        [Category("NGADC接口配置")]
        [Description("NGADC提供给ADC的URL")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string NGADCServiceUrl
        {
            get { return _NGADCServiceUrl; }
            set { _NGADCServiceUrl = value; }
        }

        //private string _NGCRMInterfaceUrl = "http://192.168.101.7:9002/NewWebService/CRMProductFolderInterface.asmx";

        //[Category("NGADC接口配置")]
        //[Description("NGCRM提供给NGADC的URL")]
        //[TabNameAttribute("接口配置")]
        //[ControlTypeAttribute("1")]
        //public string NGCRMInterfaceUrl
        //{
        //    get { return _NGCRMInterfaceUrl; }
        //    set { _NGCRMInterfaceUrl = value; }
        //}

        private string _ENSInterfaceUrl = "http://192.168.101.7:9002/NewWebService/CRMProductFolderInterface.asmx";

        [Category("ENS接口配置")]
        [Description("ENS提供给ADC的URL")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string ENSInterfaceUrl
        {
            get { return _ENSInterfaceUrl; }
            set { _ENSInterfaceUrl = value; }
        }

        private string _gatewayInterfaceForADC = "http://192.168.101.7:9002/NewWebService/GateWayInterface.aspx";

        [Category("网关接口配置")]
        [Description("网关提供服务的URL")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string GatewayInterfaceForADC
        {
            set { _gatewayInterfaceForADC = value; }
            get { return _gatewayInterfaceForADC; }
        }

        private string _OTAInterfaceForADC = "http://192.168.101.7:9002/NewWebService/OTAInterface.asmx";

        [Category("接口配置")]
        [Description("OTA提供服务的URL")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string OTAInterfaceForADC
        {
            set { _OTAInterfaceForADC = value; }
            get { return _OTAInterfaceForADC; }
        }

        private string otaServiceUrl = "";

        [Category("接口配置")]
        [Description("OTA提供给ADC")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string OTAServiceUrl
        {
            get { return otaServiceUrl; }
            set { otaServiceUrl = value; }
        }

        private string crmServiceUrl = "";

        [Category("接口配置")]
        [Description("CRM提供给ADC")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMServiceUrl
        {
            get { return crmServiceUrl; }
            set { crmServiceUrl = value; }
        }

        private string crmInterfaceForADC = "http://localhost:1490/CRMInterface.asmx?op=doBuss";
        [Category("接口配置")]
        [Description("CRM 提供服务的URL")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMInterfaceForADC
        {
            get { return crmInterfaceForADC; }
            set { crmInterfaceForADC = value; }
        }

        private string crmOperator = "CRM_JM750";

        [Category("接口配置")]
        [Description("CRM 登录帐号")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMOperator
        {
            get { return crmOperator; }
            set { crmOperator = value; }
        }

        private string crmPassword = "D41D8CD98F00B204E9800998ECF8427E";

        [Category("接口配置")]
        [Description("CRM 登录密码")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMPassword
        {
            get { return crmPassword; }
            set { crmPassword = value; }
        }

        private string _billingCenterInterfaceForADC = "http://";

        [Category("省计费中心接口配置")]
        [Description("省计费中心提供服务的URL")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string BillingCenterInterfaceForADC
        {
            set { _billingCenterInterfaceForADC = value; }
            get { return _billingCenterInterfaceForADC; }
        }

        private string _cspInterfaceForADC = "http://";

        [Category("客服平台接口配置")]
        [Description("客服平台提供服务的URL")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CSPInterfaceForADC
        {
            set { _cspInterfaceForADC = value; }
            get { return _cspInterfaceForADC; }
        }

        private string _syncProductList = "";

        [Category("同步SI平台信息配置")]
        [Description("需要SI信控的产品，多个产品编码，以半角逗号隔开,如:818,820，该配置项目前应用场景是在ADC06010接口。")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string SyncProductList
        {
            set { _syncProductList = value; }
            get { return _syncProductList; }
        }


        private string _rechargeResultSyncProductList = "";

        [Category("同步SI平台信息配置")]
        [Description("需要同步充值结果通知SI的产品，多个产品编码，以半角逗号隔开，如：818,820，但除了网服在线产品。该配置项目前应用场景是在充值结果通知接口(dl100_recharge_result)")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string RechargeResultSyncProductList
        {
            set { _rechargeResultSyncProductList = value; }
            get { return _rechargeResultSyncProductList; }
        }

        #region NGESOP接口配置
        private string _NGESOPInterfaceUrl = "http://192.168.101.7:9002/NewWebService/ADCInterfaceForNGESOP.asmx";

        [Category("NGESOP接口配置")]
        [Description("NGESOP提供给ADC的URL(客户管理)")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string NGESOPInterfaceUrl
        {
            get { return _NGESOPInterfaceUrl; }
            set { _NGESOPInterfaceUrl = value; }
        }

        private string _NGESOPServiceUrl = "http://192.168.101.7:9002/NewWebService/NgesopInterface.asmx";

        [Category("NGESOP接口配置")]
        [Description("NGESOP提供给ADC的URL(商机单、业务申请单)")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string NGESOPServiceUrl
        {
            get { return _NGESOPServiceUrl; }
            set { _NGESOPServiceUrl = value; }
        }
        #endregion

        #region ESOP接口配置

        private string _ESOPInterfaceUrl = "http://192.168.101.7:9002/NewWebService/ADCInterfaceForNGESOP.asmx";

        [Category("ESOP接口配置")]
        [Description("ESOP提供给ADC的URL")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string ESOPInterfaceUrl
        {
            get { return _ESOPInterfaceUrl; }
            set { _ESOPInterfaceUrl = value; }
        }

        #endregion

        private string _WXInterfaceForADC = "http://";

        [Category("无线城市接口配置")]
        [Description("无线城市提供给ADC的URL")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string WXInterfaceForADC
        {
            set { _WXInterfaceForADC = value; }
            get { return _WXInterfaceForADC; }
        }

        private string _CSInterfaceForADC = "http://192.168.101.7:9002/NewWebService/BOSSCSInterface.asmx";

        [Category("BOSS客服接口配置")]
        [Description("BOSS客服接口提供给ADC的URL")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CSInterfaceForADC
        {
            set { _CSInterfaceForADC = value; }
            get { return _CSInterfaceForADC; }
        }

        #region CRM 附件上传

        private string crmCRMFtpServer = "";

        [Category("接口配置")]
        [Description("CRM 临时目录服务器地址（如：ftp://192.168.101.7)")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMFtpServer
        {
            get { return crmCRMFtpServer; }
            set { crmCRMFtpServer = value; }
        }

        private string crmCRMFtpUser = "";

        [Category("接口配置")]
        [Description("CRM 临时目录服务器登录帐号")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMFtpUser
        {
            get { return crmCRMFtpUser; }
            set { crmCRMFtpUser = value; }
        }

        private string crmCRMFtppassword = "";

        [Category("接口配置")]
        [Description("CRM 临时目录服务器登录密码")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMFtppassword
        {
            get { return crmCRMFtppassword; }
            set { crmCRMFtppassword = value; }
        }

        private string cRMFtpTransferModel = "";

        [Category("接口配置")]
        [Description("临时目录服务器FTP传输模式,PORT或者PASV,不设置此项时，默认为PASV")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("PASV;PASV|PORT;PORT")]
        public string CRMFtpTransferModel
        {
            get { return string.IsNullOrEmpty(cRMFtpTransferModel) ? "PASV" : cRMFtpTransferModel; }
            set { cRMFtpTransferModel = value; }
        }

        private string cRMFtpEncoder = "";

        [Category("接口配置")]
        [Description("临时目录服务器FTP传输字符集,如：ASCII、UTF-8等,不设置此项时，默认为本机字符集")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMFtpEncoder
        {
            get { return string.IsNullOrEmpty(cRMFtpEncoder) ? "Default" : cRMFtpEncoder; }
            set { cRMFtpEncoder = value; }
        }

        private string crmFTPAttachmentServerUrl = "";

        [Category("接口配置")]
        [Description("CRM 临时目录文件夹名称（如:AgentApplyTemp)")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMFtpAttachmentServerUrl
        {
            get { return crmFTPAttachmentServerUrl; }
            set { crmFTPAttachmentServerUrl = value; }
        }

        private string crmCRMFtpDownServer = "";

        [Category("接口配置")]
        [Description("CRM 正式目录服务器地址(如：ftp://192.168.101.7:21)")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMFtpDownServer
        {
            get { return crmCRMFtpDownServer; }
            set { crmCRMFtpDownServer = value; }
        }

        private string crmCRMFtpDownUser = "";

        [Category("接口配置")]
        [Description("CRM 正式目录服务器登录帐号")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMFtpDownUser
        {
            get { return crmCRMFtpDownUser; }
            set { crmCRMFtpDownUser = value; }
        }

        private string crmCRMFtpDownpassword = "";

        [Category("接口配置")]
        [Description("CRM 正式目录服务器登录密码")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMFtpDownpassword
        {
            get { return crmCRMFtpDownpassword; }
            set { crmCRMFtpDownpassword = value; }
        }

        private string cRMFtpDownTransferModel = "";

        [Category("接口配置")]
        [Description("正式目录服务器FTP传输模式,PORT或者PASV,不设置此项时，默认为PASV")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("PASV;PASV|PORT;PORT")]
        public string CRMFtpDownTransferModel
        {
            get { return string.IsNullOrEmpty(cRMFtpDownTransferModel) ? "PASV" : cRMFtpDownTransferModel; }
            set { cRMFtpDownTransferModel = value; }
        }

        private string cRMFtpDownEncoder = "";

        [Category("接口配置")]
        [Description("正式目录服务器FTP传输字符集,如：ASCII、UTF-8等,不设置此项时，默认为本机字符集")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMFtpDownEncoder
        {
            get { return string.IsNullOrEmpty(cRMFtpDownEncoder) ? "Default" : cRMFtpDownEncoder; }
            set { cRMFtpDownEncoder = value; }
        }

        private string crmFTPDownAttachmentServerUrl = "";

        [Category("接口配置")]
        [Description("CRM 正式目录文件夹名称（如:AgentApply)")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CRMFtpDownAttachmentServerUrl
        {
            get { return crmFTPDownAttachmentServerUrl; }
            set { crmFTPDownAttachmentServerUrl = value; }
        }
        #endregion

        private string productHasCustomerProductsInfo = "820";

        [Category("接口配置")]
        [Description("允许查询用户产品信息的产品（填产品编码，如818,820...")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string ProductCodeOfCustomerProductInfo
        {
            get { return productHasCustomerProductsInfo; }
            set { productHasCustomerProductsInfo = value; }
        }

        private string dl100MyOfficeMenuID = "MyOffice";

        [Category("接口配置")]
        [Description("动力100“我的办公区”菜单ID")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string DL100MyOfficeMenuID
        {
            get { return dl100MyOfficeMenuID; }
            set { dl100MyOfficeMenuID = value; }
        }

        private string dl100MyOfficeMenuName = "我的办公区";

        [Category("接口配置")]
        [Description("动力100“我的办公区”菜单名称")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string DL100MyOfficeMenuName
        {
            get { return dl100MyOfficeMenuName; }
            set { dl100MyOfficeMenuName = value; }
        }

        private string defaultPasswordOfProductManager = "adc1111";

        [Category("接口配置")]
        [Description("BOSS业务开通接口，当产品管理员生成密码错误时候的默认密码")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string DefaultPasswordOfProductManager
        {
            get { return defaultPasswordOfProductManager; }
            set { defaultPasswordOfProductManager = value; }
        }

        private string isFindPhoneFromBOSS = "0";

        [Category("接口配置")]
        [Description("是否直接调用BOSS归属地查询接口,0-否,1-是")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("是;1|否;0")]
        public string ISFindPhoneFromBOSS
        {
            get { return isFindPhoneFromBOSS; }
            set { isFindPhoneFromBOSS = value; }
        }

        private string dlCallProductList = "4001";

        [Category("接口配置")]
        [Description("动力呼产品配置,每个产品编码用;号隔开")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string DLCallProductList
        {
            get { return dlCallProductList; }
            set { dlCallProductList = value; }
        }


        #endregion



        #region
        private string capitationEmaillist = "";

        [Category("计酬明细数据文件接口")]
        [Description("计酬明细数据文件生成错误通知人员的邮件")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CapitationEmaillist
        {
            get { return capitationEmaillist; }
            set { capitationEmaillist = value; }
        }
        #endregion

        #region 商机流转附件下载配置
        private string crmAgentActionUrl = "http://10.243.215.60/esop/portalDownLoad.action";
        [Category("商机流转附件下载配置")]
        [Description("附件访问提交路径")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CrmAgentActionUrl
        {
            get { return crmAgentActionUrl; }
            set { crmAgentActionUrl = value; }
        }

        private string crmAgentSystemESOP = "SystemESOP";
        [Category("商机流转附件下载配置")]
        [Description("外围系统调用唯一标识，SystemESOP")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CrmAgentSystemESOP
        {
            get { return crmAgentSystemESOP; }
            set { crmAgentSystemESOP = value; }
        }


        private string crmAgentOUTSYSTEM = "ADC";
        [Category("商机流转附件下载配置")]
        [Description("外部系统唯一的标识，系统取值为英文缩写组合，ADC系统ID取常量值“ADC”；外部系统取名，例如EOMS，CRM等，实施前双方确认、协同平台MOMC")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CrmAgentOUTSYSTEM
        {
            get { return crmAgentOUTSYSTEM; }
            set { crmAgentOUTSYSTEM = value; }
        }
        private string crmAgentToken = "";
        [Category("商机流转附件下载配置")]
        [Description("外围系统访问ESOP提供给ESOP反向鉴权的标识,集团CRM获取票据后调用外围系统反向鉴权验证TOKEN的有效性,如果票据为空则以用户名以及密码校验、否则不允许通过.(目前作预留字段）")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]


        public string CrmAgentToken
        {
            get { return crmAgentToken; }
            set { crmAgentToken = value; }
        }
        private string crmAgentOPERID = "";
        [Category("商机流转附件下载配置")]
        [Description("用户名,如果用户名以及密码输入不为空、则预用户名以及密码查询")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CrmAgentOPERID
        {
            get { return crmAgentOPERID; }
            set { crmAgentOPERID = value; }
        }

        private string crmAgentPASSWORD = "";
        [Category("商机流转附件下载配置")]
        [Description("密码,如果用户名以及密码输入不为空、则预用户名以及密码查询")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CrmAgentPASSWORD
        {
            get { return crmAgentPASSWORD; }
            set { crmAgentPASSWORD = value; }
        }

        private string crmAgentMACHINEID = "";
        [Category("商机流转附件下载配置")]
        [Description("计算机MAC地址")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CrmAgentMACHINEID
        {
            get { return crmAgentMACHINEID; }
            set { crmAgentMACHINEID = value; }
        }

        private string crmAgentMACHINENAME = "";
        [Category("商机流转附件下载配置")]
        [Description("计算机名")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CrmAgentMACHINENAME
        {
            get { return crmAgentMACHINENAME; }
            set { crmAgentMACHINENAME = value; }
        }
        #endregion

        #region SSO单点登录配置

        private bool isOpenSSO = false;
        [Category("SSO单点登录配置")]
        [Description("是否开启SSO单点登录.(是为true 否为false)")]
        [TabNameAttribute("接口配置")]
        [DropListItemAttribute("是;True|否;False")]
        [ControlTypeAttribute("2")]
        public bool IsOpenSSO
        {
            get { return isOpenSSO; }
            set { isOpenSSO = value; }
        }

        private bool isOpenValidateSession = false;
        [Category("SSO单点登录配置")]
        [Description("是否开启产品开通验证会话.(是为true 否为false)")]
        [TabNameAttribute("接口配置")]
        [DropListItemAttribute("是;True|否;False")]
        [ControlTypeAttribute("2")]
        public bool IsOpenValidateSession
        {
            get { return isOpenValidateSession; }
            set { isOpenValidateSession = value; }
        }


        private bool isRoleChange = false;
        [Category("SSO单点登录配置")]
        [Description("是否开启角色切换.(是为true 否为false)")]
        [TabNameAttribute("接口配置")]
        [DropListItemAttribute("是;True|否;False")]
        [ControlTypeAttribute("2")]
        public bool IsRoleChange
        {
            get { return isRoleChange; }
            set { isRoleChange = value; }
        }


        private string channelId = "ADC";
        [Category("SSO单点登录配置")]
        [Description("渠道标识")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string ChannelId
        {
            get { return channelId; }
            set { channelId = value; }
        }

        private string channelPwd = "ADCXk2uTDaDJNOSE";
        [Category("SSO单点登录配置")]
        [Description("渠道密码")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string ChannelPwd
        {
            get { return channelPwd; }
            set { channelPwd = value; }
        }

        private string certificatePath = string.Empty;
        [Category("SSO单点登录配置")]
        [Description("SSL证书地址")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CertificatePath
        {
            get { return certificatePath; }
            set { certificatePath = value; }
        }

        private string receiveUrl = "";
        [Category("SSO单点登录配置")]
        [Description("单点登录接收页面地址")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string ReceiveUrl
        {
            get { return receiveUrl; }
            set { receiveUrl = value; }
        }


        private string loginUrl = "http://211.139.145.136/SSO/SSOGroup?ChannelId={0}&TargetUrl={1}";
        [Category("SSO单点登录配置")]
        [Description("登录页面地址")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string LoginUrl
        {
            get { return loginUrl; }
            set { loginUrl = value; }
        }

        private string validateUrl = "http://211.139.145.136/SSO/SSOGroupValidate";
        [Category("SSO单点登录配置")]
        [Description("会话验证地址")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string ValidateUrl
        {
            get { return validateUrl; }
            set { validateUrl = value; }
        }

        private string roleUrl = "http://211.139.145.136/group/sso/adcChangeUser.jsp?ChannelId={0}&SessionId={1}&TargetUrl={2}";
        [Category("SSO单点登录配置")]
        [Description("角色切换地址")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string RoleUrl
        {
            get { return roleUrl; }
            set { roleUrl = value; }
        }

        private string validateFalseUrl = "~/tokenexpire.aspx";
        [Category("SSO单点登录配置")]
        [Description("会话验证失败跳转地址")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string ValidateFalseUrl
        {
            get { return validateFalseUrl; }
            set { validateFalseUrl = value; }
        }



        #endregion

        #region 华为NGCRM接口配置
        private string hwAreaCode = "";

        [Category("华为NGCRM接口配置")]
        [Description("华为NGCRM管理的地市，中间使用逗号分割，如：200,755")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string HWAreaCode
        {
            get { return hwAreaCode; }
            set { hwAreaCode = value; }
        }

        private string hwNGCRMInterfaceUrl = "http://192.168.101.7:9002/NewWebService/CRMProductFolderInterface.asmx";

        [Category("华为NGCRM接口配置")]
        [Description("华为NGCRM提供给NGADC的URL ")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string HWNGCRMInterfaceUrl
        {
            get { return hwNGCRMInterfaceUrl; }
            set { hwNGCRMInterfaceUrl = value; }
        }
        #endregion

        #region 从兴NGCRM接口配置
        private string cxAreaCode = "";

        [Category("从兴NGCRM接口配置")]
        [Description("从兴NGCRM管理的地市，中间使用逗号分割，如：200,755")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CXAreaCode
        {
            get { return cxAreaCode; }
            set { cxAreaCode = value; }
        }

        private string cxNGCRMInterfaceUrl = "http://192.168.101.7:9002/NewWebService/CRMProductFolderInterface.asmx";

        [Category("从兴NGCRM接口配置")]
        [Description("从兴NGCRM提供给NGADC的URL ")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string CXNGCRMInterfaceUrl
        {
            get { return cxNGCRMInterfaceUrl; }
            set { cxNGCRMInterfaceUrl = value; }
        }
        #endregion

        #region 动力100单点登录接口配置

        private string dl100CheckAdcActivityInterfaceUrl = "https://gd.10086.cn/group/checkAdcActivite";
        [Category("动力100单点登录接口配置")]
        [Description("动力100会话报活接口地址")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string DL100CheckAdcActivityInterfaceUrl
        {
            get { return dl100CheckAdcActivityInterfaceUrl; }
            set { dl100CheckAdcActivityInterfaceUrl = value; }
        }

        private string dl100AdcLogoutInterfaceUrl = "https://gd.10086.cn/SSO/adcLogout";
        [Category("动力100单点登录接口配置")]
        [Description("动力100被动退出接口")]
        [TabNameAttribute("接口配置")]
        [ControlTypeAttribute("1")]
        public string DL100AdcLogouInterfacetUrl
        {
            get { return dl100AdcLogoutInterfaceUrl; }
            set { dl100AdcLogoutInterfaceUrl = value; }
        }

        #endregion

        #endregion


        #region 优惠类营销方案报文工号配置
        private string saleNumberForInterface = "ADC0001";//默认值
        [Category("EC网上营业厅业务配置")]
        [Description("优惠类营销方案工号配置")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string SaleNumberForInterface
        {
            get { return saleNumberForInterface; }
            set { saleNumberForInterface = value; }
        }
        #endregion

        #region 控制“创建我的信息化方案”按钮是否显示和按钮文字
        private bool _isShowCreateMyInformationBtn = true;

        [Category("CMS门户“创建我的信息化方案”按钮控制")]
        [Description("是否显示按钮.(是为可见,否为不可见false)")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("2")]
        [DropListItemAttribute("否;False|是;True")]
        public bool IsShowCreateMyInformationBtn
        {
            get { return _isShowCreateMyInformationBtn; }
            set { _isShowCreateMyInformationBtn = value; }
        }

        private string createMyInformationBtnTxt = "创建我的信息化方案";//默认值
        [Category("CMS门户“创建我的信息化方案”按钮控制")]
        [TabNameAttribute("门户配置")]
        [Description("按钮文字控制")]
        [ControlTypeAttribute("1")]
        public string CreateMyInformationBtnTxt
        {
            get { return createMyInformationBtnTxt; }
            set { createMyInformationBtnTxt = value; }
        }

        #endregion
        #region 通用活动报名跳转EC门户地址
        private string _activitySignJumpAddress = "http://gd.10086.cn/simis/ECPortal/";

        [Category("通用活动报名跳转EC门户地址配置")]
        [Description("通用活动报名跳转EC门户地址")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string ActivitySignJumpAddress
        {
            get { return _activitySignJumpAddress; }
            set { _activitySignJumpAddress = value; }
        }
        #endregion

        #region 集团预约查询跳转地址
        private string _GroupReservationBusinesQueryUrl = string.Empty;

        [Category("EC网上营业厅业务配置")]
        [Description("集团预约查询跳转地址(注:必须使用绝对地址 以 http://XXX开头)")]
        [TabNameAttribute("门户配置")]
        [ControlTypeAttribute("1")]
        public string GroupReservationBusinesQueryUrl
        {
            get { return _GroupReservationBusinesQueryUrl; }
            set { _GroupReservationBusinesQueryUrl = value; }
        }

        #endregion

    }
}
